#include "command.h"

Command::Command(std::string const& _name)
	: m_name(_name)
{
}

Command::~Command()
{
}

bool Command::Exec(std::string const& _command)
{
	if (_command.compare(m_name))
		return (true);
	return (false);
}

std::string const& Command::GetName() const
{
	return (m_name);
}

void Command::SetName(std::string const& _name)
{
	m_name = _name;
}
